/*  
   File Browser for SalesForce
   Copyright (c) 2009  Daniel Jordan
  
   This program is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public License
   as published by the Free Software Foundation; either version 2
   of the License, or (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
 */

using System;
using System.Collections.Generic;
using System.Text;

namespace SFFileBrowser
{
    internal class SForceAttachmentInfo
    {
        private SForceObjectType parentType;
        private string id;
        private string parentId;
        private string name;
        private DateTime lastModified;
        private string type;
        private long size;

        public SForceObjectType ParentType
        {
            get { return parentType; }
            set { parentType = value; }
        }

        public DateTime LastModifiedDate
        {
            get { return lastModified; }
            set { lastModified = value; }
          
        }

        public DateTime CreatedDate { get; set; }

        public DateTime SystemModifiedDate { get; set; }

        public string Id
        {
            get { return id; }
            set { id = value; }
        }

        public string ParentId
        {
            get { return parentId; }
            set{parentId=value;}
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string Type
        {
            get { return type; }
            set { type = value; }
        }

        public long Size
        {
            get { return size; }
            set { size = value; }
        }

        public string OwnerUserID { get; set; }

        public string CreatedUserID { get; set; }

        public string ModifiedUserID { get; set; }

    }
}
